
class GisPersonTypeInfo {
    String label;
    int value;

    bool chosenFlag;

    GisPersonTypeInfo({this.label, this.value,this.chosenFlag = false});

    factory GisPersonTypeInfo.fromJson(Map<String, dynamic> json) {
        return GisPersonTypeInfo(
            label: json['label'], 
            value: json['value'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['label'] = this.label;
        data['value'] = this.value;
        return data;
    }
}